package com.jddup.program.comparator;

import com.jddup.common.pojo.TableColumn;
import com.jddup.common.pojo.TableMeta;

/**
 * Created by ZZB on 2017/12/13.
 */
public interface DropDDLBuilder {
    String dropSqlTemplate();
    default String build(TableMeta tableMeta, TableColumn tableColumn){
        return dropSqlTemplate()
                .replace("{tableName}",tableMeta.getTableName())
                .replace("{tableColumn}",tableColumn.getColumnName());
    }
}
